a=[]
ch = 'y'
while ch=='y' or ch=='Y': 
    a.append(int(input("qing shu ru ")))
             
    print(max(a))
    print(min(a))
    ave=sum(a)/len(a)
    
    print('%.3f'%(ave))
